<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>ValueType</title>
    <link rel="stylesheet" href="../../CSS/css_initialize.css" />
    <link rel="stylesheet" href="../../CSS/css_common.css" />
  </head>
  <body>
    <div class="flex-row">
      <div class="sidebar">
        <ol class="sidebar-content">
          <li class="sidebar-item-h1"><a href="#Title">ValueType</a></li>
          <li class="sidebar-item-h1"><a href="#Dfinition">定义</a></li>
          <li class="sidebar-item-h1"><a href="#Instruction">说明</a></li>
          <li class="sidebar-item-h1"><a href="#Constructor">构造函数</a></li>
          <li class="sidebar-item-h1"><a href="#Override">重写</a></li>
          <li>
            <ol>
              <li class="sidebar-item-h2"><a href="./001001Object.html#Method03">Equals</a></li>
              <li class="sidebar-item-h2"><a href="./001001Object.html#Method04">GetHashCode</a></li>
              <li class="sidebar-item-h2"><a href="./001001Object.html#Method07">ToString</a></li>
            </ol>
          </li>
        </ol>
      </div>
      <div class="content">
        <header>
          <h1 id="Title">ValueType</h1>
          <nav class="head-nav"><a class="fl" href="./001001Object.html">上一篇</a><a class="fr" href="./001003Boolean.html">下一篇</a></nav>
        </header>
        <section>
          <h2 id="Dfinition">定义</h2>
          <div class="block-code">
            <p>C#</p>
            <pre>public abstract class ValueType</pre>
          </div>
          <p>命名空间：<a href="../System.html">System</a></p>
          <p>程序集：System.Runtime.dll</p>
          <p><span class="tag class-tag">类</span><span class="tag abstract-tag">抽象</span></p>
        </section>
        <section>
          <h2 id="Instruction">说明</h2>
          <p><span class="inline-code">ValueType</span>是.NET类型系统中所有值类型的基类（<strong>隐式继承</strong>）。在.NET中，无法通过继承<span class="inline-code">ValueType</span>创建值类型，只能通过<span class="inline-code">struct</span>关键字创建。</p>
        </section>
        <section>
          <h2 id="Constructor">构造函数</h2>
          <div class="block-code">
            <p>C#</p>
            <pre>protected ValueType()</pre>
          </div>
          <p>初始化<span class="inline-code">ValueType</span>实例。</p>
        </section>
        <footer>
          <nav class="foot-nav"><a class="fl" href="./001001Object.html">上一篇</a><a class="fr" href="./001003Boolean.html">下一篇</a></nav>
        </footer>
      </div>
    </div>
  </body>
</html>
